<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入房屋名称"
                                    v-model="applyRoomDiscountManageInfo.conditions.roomName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="applyRoomDiscountManageInfo.conditions.applyType">
                                <option selected value="">请选择申请类型</option>
                                <option :value="item.applyType" v-for="item in applyRoomDiscountManageInfo.applyTypes">
                                    {{item.typeName}}</option>

                            </select>
                        </div>
                        <div class="col-sm-3">
                            <select class="custom-select" v-model="applyRoomDiscountManageInfo.conditions.state">
                                <option selected value="">请选择状态</option>
                                <option value="1">申请验房</option>
                                <option value="2">验房通过</option>
                                <option value="3">验房不通过</option>
                                <option value="4">审批通过</option>
                                <option value="5">审批不通过</option>
                            </select>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryApplyRoomDiscountMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>优惠申请</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddApplyRoomDiscountModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            电话申请
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">申请ID</th>
                                <th class="text-center">房屋</th>
                                <th class="text-center">优惠</th>
                                <th class="text-center">申请类型</th>
                                <th class="text-center">申请人</th>
                                <th class="text-center">申请电话</th>
                                <th class="text-center">开始时间</th>
                                <th class="text-center">结束时间</th>
                                <th class="text-center">状态</th>
                                <th class="text-center">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="applyRoomDiscount in applyRoomDiscountManageInfo.applyRoomDiscounts">
                                <td class="text-center">{{applyRoomDiscount.ardId}}</td>
                                <td class="text-center">{{applyRoomDiscount.roomName}}</td>
                                <td class="text-center">{{applyRoomDiscount.discountId}}</td>
                                <td class="text-center">{{applyRoomDiscount.applyTypeName}}</td>
                                <td class="text-center">{{applyRoomDiscount.createUserName}}</td>
                                <td class="text-center">{{applyRoomDiscount.createUserTel}}</td>
                                <td class="text-center">{{applyRoomDiscount.startTime}}</td>
                                <td class="text-center">{{applyRoomDiscount.endTime}}</td>
                                <td class="text-center">{{applyRoomDiscount.stateName}}</td>
                                <td class="text-center">
                                    <div class="btn-group" v-if="applyRoomDiscount.state == '1'">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditApplyRoomDiscountModel(applyRoomDiscount)">验房</button>
                                    </div>
                                    <div class="btn-group" v-if="applyRoomDiscount.state == '2'">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditApplyRoomDiscountModel(applyRoomDiscount)">审核</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteApplyRoomDiscountModel(applyRoomDiscount)">删除</button>
                                    </div>
                                </td>

                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>



    <vc:create path="property/addApplyRoomDiscount" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editApplyRoomDiscount"></vc:create>
    <vc:create path="property/deleteApplyRoomDiscount"></vc:create>

</div>